import 'package:get/get.dart';
import 'package:xin_he/routes/xin_he_routes.dart';

import 'xin_he_splash_state.dart';

class XinHeSplashLogic extends GetxController {
  final XinHeSplashState state = XinHeSplashState();


  @override
  void onReady() {
    // TODO: implement onReady
    super.onReady();

    Future.delayed(const Duration(milliseconds: 1000),(){
      Get.offNamed(XinHeRoutes.root);
    });
  }
}
